<template>
  <div id="submit">
    <div class="container">
      <ul class="nav nav-pills">
        <!--- 使用router-link 进行跳转 --->
        <li><router-link to="/user/main/i">首页</router-link></li>
        <li><router-link to="/user/main/b">图书列表</router-link></li>
        <li><router-link to="/user/main/g">游戏列表</router-link></li>
      </ul>
      <router-view></router-view>
    </div>

    <submit_head></submit_head>
    <submit_foot></submit_foot>
    <submit_body></submit_body>
  </div>
</template>

<script>
  import submit_head from './head.vue'
  import submit_foot from './foot.vue'
  import submit_body from './body.vue'

  export default{
      components:{
        submit_head,
        submit_foot,
        submit_body
      }
  }
</script>
